# 类名建议每个单词首字母都大写
class BoyFriend:
    # 属性
    name = '范丞丞'
    age = 18
    height = 163
    money = 10000.00

    # 构造器
    # 全参数构造器  构造器重载
    def __init__(self, name, age, height, money):
        self.name = name
        self.age = age
        self.height = height
        self.money = money

    def __init__(self):
        pass

    def dohousework(self):
        print(self.name + "给我做家务")
        return "做完了"

    def makemoney(self):
        print("正在赚钱" + str(self.money) + "别吵了！")
        return 10000

    def handbag(self, *args):
        print(args)
        print("给我拎包")
        return "拿走包"


class GirlFriend:
    name = "刘亦菲"
    love = "唱歌"
    house = ["北京四合院", "汤城一品", "人民大会堂"]

    def __init__(self, name, love, house):
        self.name = name
        self.love = love
        self.house = house

    def __init__(self):
        pass

    def acting(self):  # 演戏
        l = ["花木兰", "神雕侠侣"]
        print(l)
        return l

    def photograph(self):
        print("正在拍照")
        return "拍照完成"


# 示例
boy = BoyFriend()
boy.handbag(("jfjjf", "jfjfj"))
boy.dohousework()
boy.makemoney()

girl = GirlFriend()
girl.acting()
girl.photograph()
print(girl.house)
